package com.tanhua.domain.vo;

import com.tanhua.domain.mongo.Dimension;
import com.tanhua.domain.mongo.Report;
import com.tanhua.domain.mongo.SimilarYou;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReportVo implements Serializable {
    private Long id;
    private String conclusion;
    private String cover;
    private List<Dimension> dimensions;
    private List<SimilarYou> similarYou;
    public ReportVo(Report report){
        this.id=report.getReportId();
        this.conclusion=report.getConclusion();
        this.cover=report.getCover();
        this.dimensions=report.getDimensions();

    }
}
